<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Cadastro</title>
</head>

<body>
<div class="panel panel-default">
  <!-- Default panel contents -->
  <div class="panel-heading">Usuario</div>
  <div class="panel-body">
   
  
	
	<p>${mensagem}</p>
	<c:url var="root" value="/usuario"/>
	
	
	
	
	<table class="table" border="1">
		<tr>
			<th>Nome</th>
			<th>Senha</th>
			<th>E-mail</th>
			<th></th>
		</tr>
			<tr>
				<td>${user.nome}</td>
				<td>${user.senha}</td>
				<td>${user.email}</td>
				<td>
					<a href="${root}/editar?codigo=${user.codigo}">EDITAR</a>
				</td>
			</tr>
	</table>
</div>	
</div>
</body>
</html>